package com.cdp.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdp.common.core.domain.entity.SysDeformationPerformance;
import com.cdp.system.dto.DeformationPerformanceDTO;
import com.cdp.system.dto.ExportDeformationPerformanceExcelDTO;
import com.cdp.system.vo.DeformationPerformanceVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysDeformationPerformanceMapper extends BaseMapper<SysDeformationPerformance> {


    Map<String, Object> queryDeformationPerformanceMaxMin();

    List<DeformationPerformanceVO> selectByCriteria(DeformationPerformanceDTO dto);


    List<SysDeformationPerformance> exportMistedDeformationPerformanceExcelText(@Param("deformationIds") List<Integer> deformationIds);


    List<SysDeformationPerformance> exportDurabilityPerformanceExcelText(@Param("durabilityIds") List<Integer> durabilityIds);
}
